how to get only non-blank entry of list in python

41

",".join(string for string in lst if len(string) > 0)

Comments

Submit
0 Comments